package com.sdy.usercenter.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 用户开户对象
 */
@Data
@Accessors(chain = true)
public class ActiveUserVO {
    private Integer userId;
    private String loginName;
    private Integer expireType;
    private Integer expireDuration;
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date effectTime;
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date expireTime;
    private String allowIp;
    private Boolean smsOn;
}
